/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.lanchat.model.net;

/**
 * 所有Net操作所用到的常量信息
 * 
 * @author Administrator
 */
public class NetConstant {

    private NetConstant() {
        
    }
    
    /**
     * DatagramPacket的大小
     */
    public static final int DATAGRAMPACKET_SIZE = 8192;
    /**
     * 多点广播套接字将在port端口广播
     */
    public static final int BROADCAST_PORT = 54861;
    /**
     * 多点广播套接字发送数据报范围为本地网络。
     */
    public static final int BROADCAST_TIMETOLIVE = 1;
    /**
     * 点对点通信端口号
     */
    public static final int UDPCHATPORT = 9999;
    /**
     * 文件传输端口号
     */
    public static final int UDPFILEPORT = 10000;
    /**
     * 文件传输状态端口号
     */
    public static final int FILEINFOPORT =10001;
}
